/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package util;

/**
 *
 * @author nknowles
 */
public class LoggedInUser {

  private int userID, roleID;
  private String username;
  private static LoggedInUser instance;

  private LoggedInUser() {
  }

  public static LoggedInUser getInstance() {
    if (instance == null) {
      instance = new LoggedInUser();
    }
    return instance;
  }

  public void setUserID(int userID) {
    this.userID = userID;
  }

  public int getUserID() {
    return this.userID;
  }

  public void setRoleID(int id) {
    this.roleID = id;
  }

  public int getRoleID() {
    return this.roleID;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getUsername() {
    return this.username;
  }
}
